package cn.jiyun.config;


import cn.jiyun.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="sentinel-provider")
public interface UserFeign {

    @RequestMapping("/getUserById")
    public User getUserById(@RequestParam Integer id);
}
